package pattern.behavioral.iterator.simple;

/**
 * @author: chaoyang.ren  
 * @date:Jun 5, 2017  
 * @time:11:31:39 AM   
 * @email:chaoyang.ren@foxmail.com  
 * @version: 1.0
 */
public interface Collection<E> {
	Iterator<E> iterator();
	int size();
	E getElement(int index);
	E[] toArray();
}

